package com.jobboard.auth.application.convert;

import com.jobboard.auth.application.dto.AuthPermissionDTO;
import com.jobboard.auth.application.dto.AuthRolePermissionDTO;
import com.jobboard.auth.domain.entity.AuthPermissionBO;
import com.jobboard.auth.domain.entity.AuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色dto转换器
 *
 * @author rose
 */
@Mapper
public interface AuthRolePermissionDTOConverter {

    AuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDTOConverter.class);

    AuthRolePermissionBO convertDtoToBo(AuthRolePermissionDTO authRolePermissionDTO);
}
